package com.a.ims.mapper;

import com.a.ims.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    //获取用户信息
    public User selectByAdminId(String id);

    //增加用户
    public int insertUser(User user);

    //修改用户信息
    public int updateUser(User user);

    //删除用户
    public int deleteUser(User user);

    //获取所有用户
    public List<User> getAllUsers(User user);

}


